
import {SAVE_TITLE} from "../constant"
const initState = ''
let leftNav_reducer =  (preState=initState,action) => {
    const {type,data} = action
    switch (type) {
        case SAVE_TITLE:
            return data
    
        default:
            return preState
    }
}
export default leftNav_reducer